<?php
namespace app\common\validate\Post;

use think\Validate;

// 商品订单的验证器
class Collect extends Validate
{
    protected $rule =   [
        'busid' => 'require', 
        'postid'   => 'require',
    ];

    protected $message  =   [
        'busid.require'     => '用户ID必须填写',
        'postid.require'  => '帖子ID必须填写', 
    ];

}

?>